package cn.zl.biz.mapper;

import cn.zl.biz.entity.SysCategory;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * @author zl
 * @date 2023/9/12
 */
public interface CategoryMapper extends BaseMapper<SysCategory> {

    List<SysCategory> findCategoryByArticleId(long id);

    List<SysCategory> findAllCategorys();
}
